<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class EnvInfoController extends Controller
{
    // echarts 温度显示
    public function echarts_temp(Request $request)
    {
        if ($request->expectsJson()) {
            //ajax请求
        } else {
            return view('admin.envInfo.echarts');
        }
    }

   

}
